<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>  

<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html"%>

<%@ page isELIgnored="false" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>同乐吧--我的短消息</title>
		
		<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
		<link href="css/public_ac.css" rel="stylesheet" type="text/css" />
		<link href="css/column_ac.css" rel="stylesheet" type="text/css" />
		<link href="css/header.css" rel="stylesheet" type="text/css" />
		<link href="css/footer.css" rel="stylesheet" type="text/css" />
		<link href="css/comment.css" rel="stylesheet" type="text/css" />

	</head>
	<body class="body">
		<div class="pageContent">
		
			<jsp:include flush="true" page="../include/header.jsp"></jsp:include>
			
			<!-- 页面主内容 -->
			<div class="main">
			 
				<!-- 页面左侧内容 -->
				<div class="mainLeft">
					
					<!-- 左侧栏目1 -->
					<div class="columnType1">
						<div class="columnType1Title">
							<div class="columnType1TitlePic">
								<img src="theme/skin1/public/columnPic/01.gif"/>
							</div>
							<div class="columnType1TitleText">
								我的短消息
							</div>
							<div class="columnType1TitleMore">
								<!-- 这里是更多链接，不需要请删除该链接 -->
								<!-- 
									<a href=""><img src="theme/skin1/public/more1.gif" border="0"/></a>
								 -->
							</div>
						</div>
						<div class="columnType1Content" style="background:#000;">
							<div id="at">
							<ul>
							  <li><a href="message.do?method=sendMessage">发送新短消息</a></li>
				        	  <li><a href="message.do?method=mySendMessage">我发送的短消息</a></li>
				        	  <li><a href="message.do?method=myReceiveMessage">我收到的短消息</a></li>
				        	  <li><a href="message.do?method=sendMoreMessage">我要群发短消息</a></li>
				   	    	</ul>
   	    					</div>
						</div>
					</div>
					
					
				</div>
				
				<!-- 页面中间内容 -->
				<div class="mainContent" style="width:780px;">
					
					<!--  中间栏目1 -->
					<div class="columnType2" style="width:780px;">
						<div class="columnType2Title">
							<div class="columnType2TitlePic">
								<img src="theme/skin1/public/columnPic/04.gif"/>
							</div>
							<div class="columnType2TitleText">
								我发送的消息
							</div>
							<div class="columnType1TitleMore">
								<!-- 这里是更多链接，不需要请删除该链接 -->
								<!-- 
									<a href=""><img src="theme/skin1/public/more1.gif" border="0"/></a>
								 -->
							</div>
						</div>
						<div class="columnType2Content" style="width:780px;background:#000;">
						
						
						
							<div class="sidebar clear" style="width:780px;">
					<div id="myTabs3" class="mootabs" style="margin-top:10px;">
						<div style="clear:both;"></div>
						<div id="leave" class="mootabs_panel" style="display:block;">
							<c:forEach items="${requestScope.list}" var="data">
							<div id="table${data.id}" class="message-box">
								
								<table cellpadding="3" border="0" cellspacing="0" width="100%" class="message">
									
									<tr>
										<td class="message-face" align="center"><a href="presonal.do?userNo=${data.publisherUserno}">${data.publisherName}</a><br />发给我<br />的短消息</td>
										<td valign="top" style="padding-top:20px;padding-left:20px;"><pre>${data.content}</pre>
										</td>
										<td class="message-action">
											<a href="#">加为好友</a><br />
											<a href="message.do?method=sendMessage&userNo=${data.publisherUserno}&username=${data.publisherName}">回复短消息</a><br />
											<a href="javascript:deleteById(${data.id})">删除短消息</a><br />
										</td>
									</tr>
									
								</table>
								
							</div>
							
							</c:forEach>
							<c:if test="${requestScope.count gt 10}">
							<div class="pager clear">
								<c:out value="${requestScope.url}" escapeXml="false"></c:out>
							</div>
							</c:if>
						</div>
						
					</div>
				</div>
				
				
				
						</div>
					</div>
					
				</div>
				
				<!-- 页面右侧内容 -->
				
			</div>
			
			<jsp:include flush="true" page="../include/footer.jsp"></jsp:include>
				
		</div>
	</body>
</html>